/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By 深圳中科鑫智科技有限公司
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.commons.domain.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * cere_business_buyer_user 商家用户关联实体类
 * @author
 */
@Data
public class CereBusinessBuyerUser implements Serializable {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     *  角色id
     */
    private Long roleId;

    /**
     * 用户id
     */
    private Long buyerUserId;

    /**
     * 创建时间(首次成为空户时间)
     */
    private String createTime;

    /**
     * 用户余额
     */
    @ApiModelProperty(value = "用户余额")
    private BigDecimal balance;

    /**
     * 欠款金额
     */
    @ApiModelProperty(value = "欠款金额")
    private BigDecimal debtAmout;

    /**
     * 是否加入黑名单 0否 1是
     */
    @ApiModelProperty(value = "是否加入黑名单 0否 1是")
    private Integer isBacklist;

    /**
     * 备注昵称
     */
    @ApiModelProperty(value = "备注昵称")
    private String nickName;

    /**
     * 更新时间(上次消费时间)
     */
    private String updateTime;

    private static final long serialVersionUID = 1L;

}
